package com.szly.phm.common.entity.dto.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @author chengjiang
 * @date 
 */
@Data
public class UserRoleDTO {

    @ApiModelProperty(value = "用户Id",required = true)
    @NotBlank(message = "用户Id不能为空")
    private String userId;

    @ApiModelProperty(value = "角色")
    private List<String> roleIds;

}
